import { _decorator, AssetManager, CCString, Component, Node } from 'cc';
import { BundleConfig } from '../NeedToChange/BundleConfig';
import { ResMgr } from '../Res/ResMgr';
import { UIManager } from '../UIFramework/UIManager';
const { ccclass, property } = _decorator;

@ccclass('GameLauch')
export class GameLauch extends Component {   
   

    async onLoad(){
        await ResMgr.instance.loadBundle(BundleConfig.UIFramework.name);
        //ResMgr.instance.loadBundleTest('UIFramework');
        UIManager.instance.openUI('UILoading',BundleConfig.UIFramework.name);
    }

}


